.inline-block {
  display: inline-block;
  vertical-align: middle;
}
.btn-icon {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 12px;
  height: 12px;
  margin-right: 5px;
  margin-top: -2px;
  background: url(../static/images/icon-search.png) no-repeat;
  background-size: 100%;
}
.search {
  width: 685px;
  margin: 0 auto;
}
.search__engine {
  position: relative;
  width: 150px;
  height: 40px;
  line-height: 40px;
  border: 1px solid #c9c9c9;
  background-color: #fff;
  text-align: center;
  box-sizing: border-box;
  cursor: pointer;
  display: inline-block;
  vertical-align: middle;
}
.mac-app .search__engine {
  border: 1px solid #eee;
}
.search__engine--btn {
  display: block;
  color: rgba(0, 0, 0, 0.54);
  text-indent: -10px;
}
.search__engine--btn:before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 12px;
  height: 12px;
  margin-right: 5px;
  margin-top: -2px;
  background: url(../static/images/icon-search.png) no-repeat;
  background-size: 100%;
}
.search__engine--btn:after {
  position: absolute;
  right: 10px;
  top: 0;
  bottom: 0;
  display: block;
  content: '';
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 10px solid #888;
  margin: auto;
}
.search__engine .lib:before {
  background-position: 0 -72px;
}
.search__engine .baidu:before {
  background-position: 0 -60px;
}
.search__engine .bing:before {
  background-position: 0 0;
}
.search__engine .google:before {
  background-position: 0 -24px;
}
.search__engine .sougou:before {
  background-position: 0 -36px;
}
.search__engine--list {
  background-color: #fff;
  border: 1px solid #c9c9c9;
  -webkit-transform: rotateX(-90deg);
  transform: rotateX(-90deg);
  -webkit-transform-origin: top;
  transform-origin: top;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: transform .3s ease;
}
.mac-app .search__engine--list {
  border: 1px solid #eee;
}
.search__engine--list li {
  position: relative;
}
.search__engine--list a {
  display: block;
  color: rgba(0, 0, 0, 0.54);
  text-indent: -10px;
}
.search__engine--list a.current:after {
  content: '';
  display: block;
  position: absolute;
  right: 14px;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #21c494;
}
.search__engine--list a:before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 12px;
  height: 12px;
  margin-right: 5px;
  margin-top: -2px;
  background: url(../static/images/icon-search.png) no-repeat;
  background-size: 100%;
}
.search__engine--list.open {
  -webkit-transform: rotateX(-1deg);
  transform: rotateX(-1deg);
}
.search__form {
  display: inline-block;
  vertical-align: middle;
}
.search__form input[type='text'] {
  display: inline-block;
  vertical-align: middle;
  width: 400px;
  height: 30px;
  line-height: 30px;
  padding: 4px 10px;
  color: rgba(0, 0, 0, 0.54);
  border: 1px solid #c9c9c9;
  background-color: #fff;
}
.mac-app .search__form input[type='text'] {
  border: 1px solid #eee;
}
.search__form input[type="submit"] {
  display: inline-block;
  vertical-align: middle;
  width: 100px;
  height: 40px;
  line-height: 40px;
  padding: 0;
  color: rgba(0, 0, 0, 0.54);
  background-color: #fff;
  border: 1px solid #c9c9c9;
  box-sizing: border-box;
  cursor: pointer;
}
.mac-app .search__form input[type="submit"] {
  border: 1px solid #eee;
}
.search__form input[type="submit"]:hover {
  color: #21c494;
}
